<ul>
<?php for ($m=0;$m<count($this->menuPath);$m++) { ?>
<li><a href="#" onmouseover="appendContextMenu(this,['add','up','down','edit','del'],<?= $this->menuPath[$m]->menu_id ?>,<?= $this->menuPath[$m]->root_menu_id ?>,true)"><img src="/cms/images/document.gif" width="16" height="16" border="0" align="baseline" /> <?= $this->menuPath[$m]->name ?></a>
<?php if ($this->menuPath[$m]->length()>0) { ?>
<img src="/cms/images/control_000_small.gif" name="auto_trigger" width="16" height="16" align="baseline" id="auto_trigger" onmouseover="appendPopupPathAction(event,this,'path_popup_<?= $this->menuPath[$m]->menu_id ?>')" />
<div class="pupupMenu" id="path_popup_<?= $this->menuPath[$m]->menu_id ?>">
  <ul class="SystemMenu">
  <?php for ($s=0;$s<$this->menuPath[$m]->length();$s++) { ?>
    <li><a href="#" onclick="gotopoint(<?= $this->menuPath[$m]->item($s)->menu_id ?>)"><img src="/cms/images/document.gif" width="16" height="16" align="absmiddle" /><?= $this->menuPath[$m]->item($s)->name ?></a></li>
  <?php } ?>
  </ul>
</div>
<?php } ?>
</li>
<?php } ?>
</ul>